package com.example.seckill.mapper;

import com.example.seckill.VO.RoomVO;

import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface RoomMapper {
    List<RoomVO> getRoomsByBuildingID(int bid);
    List<RoomVO> getRoomList();
//    getRoomList

    RoomVO GetRoomByRoomID(String room_id);

    void StockMinusOne(String room_id);


    Integer getBIDbyRID(String rid);





    void StockPlusOne(String room_id);
}
